//
//  MyRefreshFooterGif.m
//  玩手机
//
//  Created by dllo on 9/21/15.
//  Copyright (c) 2015 King. All rights reserved.
//

#import "MyRefreshFooterGif.h"

@implementation MyRefreshFooterGif


- (void)prepare
{
    [super prepare];

    NSMutableArray *refreshImage = [NSMutableArray array];
    for (NSUInteger i =1; i < 28; i++) {
        UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"refresh%ld@3x.png",(unsigned long)i]];
        [refreshImage addObject:image];
    }
    [self setImages:refreshImage forState:MJRefreshStatePulling];
    [self setImages:refreshImage forState:MJRefreshStateRefreshing];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
